<?php
require_once 'Image/Barcode.php';
$codigo = $_REQUEST['codigo'];
echo Image_Barcode::draw($codigo, 'code128', 'png');
?> 